package com.example.entity;

import lombok.Data;
import java.util.Date;
import java.util.List;

@Data
public class Role {
    private Long id;
    private String name;        // 对应NAME
    private String description; // 对应DESCRIPTION
    private Integer status;     // 对应STATUS
    private Date createTime;    // 对应CREATE_TIME
    private String createUser;  // 对应CREATE_USER
    private Date updateTime;    // 对应UPDATE_TIME
    private String updateUser;  // 对应UPDATE_USER
    private Integer version;    // 对应VERSION

    private List<Menu> menus;
    private List<User> users;
}